#include <stdio.h>
// This will only let decimal char  keypresses  "enter"
int fetchvalidchar()
{
int c;
do	{
	c=getchar();
	}  while ((c<'0') || (c > '9'));
return c;
}
   
   
   
void main(void)
{



while (1)
   printf("Valid  %d\n",fetchvalidchar());
}
